/**
 * 
 * Copyright (C) 2015 by Elcom Software Company
 *
 * @id: IJobSchedule.java, Mar 13, 2015
 *
 */
package com.nip.commons.job.interf;

import java.util.Date;

import com.nip.commons.job.exceptions.JobScheduleException;
import com.nip.commons.job.objects.TimeObject;

/**
 * @author ThangNM<thangnm@elcom.com.vn>
 * 
 * @version v
 */
public interface IJobSchedule {

    void setShedule(String schedule_format) throws JobScheduleException;

    TimeObject getYear();

    TimeObject getMonth();

    TimeObject getHour();

    TimeObject getMinute();

    TimeObject getDayOfWeek();
    
    TimeObject getDay();
    
    Date getStartDate();
    
    void setStartDate(Date date);
}
